
@mixin page-section {
  background-color: #fff;
  border-radius: 0px;
  padding: 15px;
}

@mixin query-form {
  @include page-section();
}

// CRUD 样式
.cxd-Crud,
.cxd-Crud2 {
  // 查询表单
  &>.cxd-Form,
  &>.cxd-Crud-filter,
  &>.cxd-Crud2-filter {
    @include query-form();

    .cxd-Grid {
      &>* {
        margin: 8px 0 !important;
      }

      .cxd-Form-item {
        margin-bottom: 5px;
      }
    }

    &+.cxd-Crud-body {
      margin-top: 15px;
    }
  }
  // 查询表单
  &>.cxd-Form,
  &>.cxd-Crud-filter,
  &>.cxd-Crud2-filter {

    &+.cxd-Crud-body {
      margin-top: 15px;
      background: #f5f7f9;
    }
  }

  &>.cxd-Crud2-filter {
    &+.cxd-Crud2-toolbar {
      // border: 1px solid #000;
      margin-bottom: 0;
    }
  }

}